package fun.diaoer.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import fun.diaoer.entity.DISysPermission;
import fun.diaoer.entity.vo.VDISysRole;

public interface DISysPermissionMapper {
	
	/**
	 * 根据角色信息查询 下属所有节点信息
	 * @param roles
	 * @return
	 */
	List<DISysPermission> searchPermsByRoles(@Param("roles") List<VDISysRole> roles);
    
}